package com.HomeWorkhsp.Chapter07;

/**
 * Enjoy programming!!!
 * Time: 2021/11/10 -  20:48
 */
public class Test11 {
    public static void main(String[] args){

    }
}
class Employee{
    String name;
    int age;
    String gender;
    double salary;
    String position;
    public Employee(String position, double salary){
        this.position = position;
        this.salary = salary;
    }
    public Employee(String name, String gender ,int age ){
        this.name = name;
        this.gender = gender;
        this.age = age;
    }
    public Employee(String name, String gender, int age, double salary, String position){
        this(name, gender, age);
        this.position = position;
        this.salary = salary;
    }

}
